#ifndef __SPI_H__
#define __SPI_H__

#include "stm32f10x.h"

extern void spi1_init(void);

extern int spi_send(SPI_TypeDef *SPIx, unsigned char dat);

#endif /* __SPI_H__ */
